#include "order.h"
#include "ui_order.h"

Order::Order(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::Order)
{
    ui->setupUi(this);
}

QMap<QString,QString> Order::getOrderInfo()
{
    return orderInformation;
}

Order::~Order()
{
    delete ui;
}

void Order::on_buttonBox_accepted()
{
    orderInformation["PREFIX"] = ui->clientPrefix->text();
    orderInformation["RESP_FIO"] = ui->respEmplyee->text();
}
